package com.server.mapper;

import com.pojo.entity.Comment;
import com.pojo.vo.CommentVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CommentMapper {
    List<CommentVO> getCommentList(Integer articleId);

    Integer addComment(Comment comment);

    Integer getCommentCount(Integer articleId);
}
